🚚 update: Add 4th MeetUp location #21
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: Publish to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/publish-web-site.yaml" | |
- "static/**" | |
- "**.html" | |
- robots.txt | |
- CNAME | |
workflow_dispatch: # Allows manual triggering of workflow | |
jobs: | |
publish-web-site: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Move files into the `dist` directory | |
run: | | |
mkdir dist | |
mv static CNAME *.html robots.txt dist | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist | |
clean: true |