Skip to content

Update index.html

Update index.html #6

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEPLOY_DIR: dist
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Create deployment directory 📁
run: |
mkdir -p $DEPLOY_DIR
cp index.html $DEPLOY_DIR/
cp ads.txt $DEPLOY_DIR/
# https://www.bing.com/webmasters
cp BingSiteAuth.xml $DEPLOY_DIR/
cp -r public $DEPLOY_DIR/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ${{ env.DEPLOY_DIR }}
force: true