aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: 8c3455b43349d3cfb59f6bcd163cb1351059dafd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
on: push
jobs:
  build_and_deploy:
    runs-on: ubuntu-latest
    if: github.ref == 'refs/heads/master'
    steps:
      - name: 'checkout'
        uses: actions/checkout@v3.0.0
      - name: 'build and deploy'
        uses: shalzz/zola-deploy-action@v0.17.2
        env:
          BUILD_FLAGS: --base-url ${{ secrets.DOMAIN }}
          PAGES_BRANCH: master
          REPOSITORY: ${{ secrets.REPOSITORY }}
          TOKEN: ${{ secrets.TOKEN }}