Skip to content

Merge pull request #2 from Dafnik/renovate/major-major-risky-update #2

Merge pull request #2 from Dafnik/renovate/major-major-risky-update

Merge pull request #2 from Dafnik/renovate/major-major-risky-update #2

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Remove not important folders
run: |
rm -rf .git/
rm -rf .github/
rm -rf .gitignore
rm -rf gitlab-ci
rm -rf .idea/
rm -rf renovate.json
rm -rf README.md
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
actions: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4