style: change links order and add paypal link for ☕️. #7
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 content to Pages | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["master"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Optional: print the folder structure to verify correct paths | |
- name: List repository files | |
run: | | |
ls -R | |
# Setup GitHub Pages (correct action) | |
- name: Setup GitHub Pages | |
uses: actions/configure-pages@v5 | |
# Upload only the my-tree folder, which includes index.html and css files | |
- name: Upload my-tree folder to Pages | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: './my-tree' | |
# Deploy the artifact to GitHub Pages | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 | |
# Optional: Print the deployed page URL | |
- name: Output deployed URL | |
run: | | |
echo "Deployed to: ${{ steps.deployment.outputs.page_url }}" |