Skip to content

Bump actions/upload-artifact from 2 to 4 #8

Bump actions/upload-artifact from 2 to 4

Bump actions/upload-artifact from 2 to 4 #8

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
- name: Install npm dependencies
run: |
npm install -g [email protected]
npm install
- name: Build
run: |
ember build --environment production
- name: Upload build
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: 'dist/'
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4