fix: update panda bytes to use navbar #16
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: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
# To do this in another repo, run `ng add angular-cli-ghpages | |
# Then add this under angular.json > projects > <project> > architect object | |
# "deploy": { | |
# "builder": "angular-cli-ghpages:deploy", | |
# "options": { | |
# "buildTarget": "<project>:build:production", | |
# "repo": "https://github.com/<username/org>/<project>.com", | |
# "cname": "<project>.com" | |
# } | |
# }, | |
# Then add this | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ⚙️ - Cache dependencies ⚡ - Install dependencies 🔧 | |
uses: ./.github/workflows/setup-node | |
- name: Deploy App to Github Pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git config user.name "Panda Bytes" | |
git config user.email "[email protected]" | |
npx ng deploy |