Skip to content

Add buzon de quejas tab with Google Form #16

Add buzon de quejas tab with Google Form

Add buzon de quejas tab with Google Form #16

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [master]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: Token_Hggnface
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Replace token placeholder
run: |
TOKEN="${{ secrets.TOKEN_HUGGINGFCE }}"
echo "Replacing token..."
sed -i "s/HF_TOKEN_PLACEHOLDER/$TOKEN/g" script.js
echo "Done. Checking result:"
grep -o "hf_" script.js | head -1 || echo "Token NOT found!"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: .
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4