Skip to content

Merge pull request #420 from pataar/dependabot/npm_and_yarn/astro-5.1.7 #419

Merge pull request #420 from pataar/dependabot/npm_and_yarn/astro-5.1.7

Merge pull request #420 from pataar/dependabot/npm_and_yarn/astro-5.1.7 #419

Workflow file for this run

name: deploy
on:
push:
branches:
- master # Set a branch name to trigger deployment
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- uses: withastro/action@v3
with:
package-manager: bun
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: www.pieterwillekens.nl
- name: Sleep for 20 seconds to wait for deployment to complete
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Cloudflare Purge Cache
uses: jakejarvis/[email protected]
env:
CLOUDFLARE_TOKEN: ${{secrets.CLOUDFLARE_TOKEN}}
CLOUDFLARE_ZONE: c83845c6fa8b184eabec2721f23d3f68