Skip to content

feat: added schema.org microdata #21

feat: added schema.org microdata

feat: added schema.org microdata #21

Workflow file for this run

name: GitHub Pages Deployment
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Get latest commit hash
run: |
COMMIT_HASH=$(git rev-parse --short HEAD)
echo "COMMIT_HASH=$COMMIT_HASH" >> $GITHUB_ENV
- name: Inject placeholder tokens
run: |
sed -i "s|{{COMMIT_HASH}}|${{ env.COMMIT_HASH }}|g" index.html
sed -i "s|{{TAG_MANAGER_ID}}|${{ vars.TAG_MANAGER_ID }}|g" index.html
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: .
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4