File tree Expand file tree Collapse file tree 5 files changed +15
-55
lines changed Expand file tree Collapse file tree 5 files changed +15
-55
lines changed Original file line number Diff line number Diff line change 44 push :
55 workflow_dispatch :
66
7+ permissions :
8+ contents : write
9+
710jobs :
811 build :
912 runs-on : ubuntu-latest
1013 steps :
11- - run : echo "Hello world"
14+ - uses : actions/checkout@v4
15+ - uses : docker/setup-buildx-action@v3
16+ - run : docker-compose -f elastic-stack/docker-compose.yml build
17+ - run : docker-compose -f serilog/docker-compose.yml build
18+
19+ update_readme :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v4
23+ with :
24+ fetch-depth : 0
25+ - run : ./scripts/update-readme.sh
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -euo pipefail
33
4- # Don't update README on pull requests since secure AppVeyor variables aren't
5- # provided in pull requests
6- if [ " $APPVEYOR_PULL_REQUEST_TITLE " != " " ]
7- then
8- echo " Skip updating README in pull requests"
9- exit
10- fi
11-
12- # Setup SSH
13- echo " -----BEGIN RSA PRIVATE KEY-----" > ~ /.ssh/id_rsa
14- echo " ${SSH_PRIVATE_KEY} " | tr " " " \n" >> ~ /.ssh/id_rsa
15- echo " -----END RSA PRIVATE KEY-----" >> ~ /.ssh/id_rsa
16- sudo chmod 600 ~ /.ssh/id_rsa
17-
184# Setup git
19- git remote set-url origin git@github.com:FantasticFiasco/serilog-sinks-http-sample-elastic-stack.git
205git config user.name FantasticFiasco
216git config user.email mattias@kindb.org
22- git checkout $APPVEYOR_REPO_BRANCH
237
248# Update Elastic Stack version in README
259DOCKERFILE_ELASTIC_VERSION=` grep -oP ' \d+\.\d+\.\d+' ./elastic-stack/.env`
You can’t perform that action at this time.
0 commit comments