Workflow update - download tools #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build site with Zola | |
on: | |
push: | |
#paths-ignore: | |
branches: | |
- public-zola | |
concurrency: | |
group: site-build-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Zola environment | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: [email protected] | |
- name: Build site | |
run: make build | |
- name: Save website artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: website-${{ github.ref_name }} | |
path: public/ | |
call-deploy-workflow: | |
uses: ./.github/workflows/deploy.yml | |
needs: build | |
with: | |
artifact-name: website-${{ github.ref_name }} | |
secrets: | |
AWS_IAM_ROLE_GITHUB: ${{ secrets.AWS_IAM_ROLE_GITHUB }} |