Spaces:
Sleeping
Sleeping
Igor
Feat: Add Visual Fingerprint (TOFU) to verify session integrity against MITM
77c38a4 unverified Download .github/workflows/deploy_pages.yml from igor53627/shitposter-api: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/igor53627/shitposter-api/resolve/main/.github/workflows/deploy_pages.yml
- Command line
-
hf download hf://spaces/igor53627/shitposter-api/.github/workflows/deploy_pages.yml
-
curl -L -o deploy_pages.yml https://huggingface.co/spaces/igor53627/shitposter-api/resolve/main/.github/workflows/deploy_pages.yml
1.03 kB
| name: Deploy Web Terminal to Pages | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Prepare Files | |
| run: | | |
| mkdir public | |
| cp web/index.html public/ | |
| cp crypto.py steg.py stealth.py fingerprint.py public/ | |
| # Fix relative paths in index.html for the flat structure | |
| sed -i 's/\.\.\//\.\//g' public/index.html | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: 'public' | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |