Added October #19
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 Website | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "22.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: | | |
npm i | |
- name: Build Website | |
run: | | |
npm run build | |
echo "meetup.microfrontends.cloud" > dist/CNAME | |
echo "# Disable Jekyll" > dist/.nojekyll | |
- name: Deploy Website | |
run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
npx gh-pages -d "dist" -u "github-actions-bot <support+actions@github.com>" --dotfiles | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |