Skip to content

updates to my member card: music widget and website instead of email #9

updates to my member card: music widget and website instead of email

updates to my member card: music widget and website instead of email #9

Workflow file for this run

name: Deploy Svelte Website to GitHub Pages
on:
push:
branches:
- main # Trigger deployment on push to the main branch
permissions: write-all
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build the Svelte app
run: npm run build
- name: Configure Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Deploy to GitHub Pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
npx gh-pages -d build