Improve scrolling appearance #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 Static Site | |
on: | |
push: | |
branches: | |
- main # Trigger deployment on pushes to the main branch | |
workflow_dispatch: # Allow manual triggering of the workflow | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Check out the repository | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
# Step 2: Create the `secrets.json` file | |
- name: Create Secrets File | |
run: | | |
echo '{ "calendarUrl": "${{ secrets.CALENDAR_URL }}", "defaultLocation": "${{ secrets.DEFAULT_LOCATION }}" }' > secrets.json | |
# Step 3: Deploy to GitHub Pages | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: . # Deploy the root directory (contains your static site) | |