Skip to content

CD

CD #3308

Workflow file for this run

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