Skip to content

chore(deps): bump next from 14.1.1 to 14.2.10 in /packages/landingpage #234

chore(deps): bump next from 14.1.1 to 14.2.10 in /packages/landingpage

chore(deps): bump next from 14.1.1 to 14.2.10 in /packages/landingpage #234

name: Deploy Landingpage
on:
push:
paths:
- packages/landingpage/**
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/dependencies-install
- name: Build landingpage ⚒️
run: yarn nx run landingpage:build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
- name: Upload build output ⬆️
uses: actions/upload-artifact@v2
with:
name: landingpage
path: packages/landingpage/out/
deploy-landingpage:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
with:
ref: pages
- uses: actions/download-artifact@v2
with:
name: landingpage
path: ./artifact
- name: Deploy to Github Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: pages # The branch the action should deploy to.
folder: ./artifact # The folder the action should deploy.
commit-message: Deploy landingpage
clean-exclude: |
.gitlab-ci.yml
version
unicorn
hosted-versions.json