Skip to content

馃梼 Update montenegro/tivat sub-module #2835

馃梼 Update montenegro/tivat sub-module

馃梼 Update montenegro/tivat sub-module #2835

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Deploy global website
on:
push:
branches: [master]
defaults:
run:
working-directory: global
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/configure-pages@v5
- uses: actions/setup-node@v4
with:
check-latest: true
- run: npm ci
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: global/dist
# - name: Deploy
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# BRANCH: gh-pages # The branch the action should deploy to.
# FOLDER: 'global/dist' # The folder the action should deploy.
# CLEAN: true # Automatically remove deleted files from the deploy branch
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4