diff --git a/.github/workflows/deploy-northline.yml b/.github/workflows/deploy-northline.yml new file mode 100644 index 000000000000..90caa41e3fc5 --- /dev/null +++ b/.github/workflows/deploy-northline.yml @@ -0,0 +1,44 @@ +name: Deploy Northline site + +on: + push: + branches: [main] + paths: + - 'brokerage-website/**' + - '.github/workflows/deploy-northline.yml' + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages-northline + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Pages + uses: actions/configure-pages@v5 + + - name: Upload site + uses: actions/upload-pages-artifact@v3 + with: + path: brokerage-website + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4