Skip to content

Update README.md

Update README.md #73

Workflow file for this run

name: Test TEv2 Workflow
on:
gollum:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
name: Run TEv2
runs-on: ubuntu-latest
steps:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- run: mkdir deploy && mv index.html deploy
- uses: actions/upload-pages-artifact@v1
with:
path: deploy
# - name: Deploy 🚀
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# folder: deploy
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./deploy
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action