-
Notifications
You must be signed in to change notification settings - Fork 3
30 lines (28 loc) · 800 Bytes
/
cd.yml
File metadata and controls
30 lines (28 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CD
on:
push:
branches:
- main
schedule:
- cron: "0 */6 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: 25.0
elixir-version: 1.14
- run: make dependencies
- run: make build
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: git config user.name "github-actions[bot]"
- run: git config user.email "github-actions[bot]@users.noreply.github.com"
- run: git add -A
- run: git diff-index --quiet HEAD || git commit -m "Update advisories from GitHub Advisory Database"
- run: git push origin HEAD