event: add Libreabc #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: Deploy to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Prepare files for GitHub Pages | |
run: | | |
mkdir public | |
cp website/calendar.html public/index.html | |
cp website/calendar.js public/ | |
- name: Deploy to GitHub Pages | |
uses: actions/configure-pages@v3 | |
- name: Upload files to GitHub Pages | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: public | |
- name: Publish GitHub Pages | |
uses: actions/deploy-pages@v2 | |
- name: Display GitHub Pages URL | |
run: | | |
echo "Your GitHub Pages site is now live at:" | |
echo "https://${{ github.repository_owner }}.github.io/${{github.event.repository.name }}" |