Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Přesměrování na produktovou stránku Firefoxu #3

Přesměrování na produktovou stránku Firefoxu

Přesměrování na produktovou stránku Firefoxu #3

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch: # allows to be run manually
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Build site
run: |
mkdir -p _site
cp index.html 404.html _site
- name: Save built site for deploy
uses: actions/upload-pages-artifact@v3
with:
path: _site
retention-days: 7
deploy:
if: github.ref == 'refs/heads/main'
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- id: deployment
name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4