Skip to content

[#2273] Update workflows to use v4 of artifact actions #3204

[#2273] Update workflows to use v4 of artifact actions

[#2273] Update workflows to use v4 of artifact actions #3204

Workflow file for this run

# This workflow marks a deployment to surge.sh as pending
name: Surge.sh pending build
on:
pull_request_target:
branches-ignore:
- gh-pages
jobs:
deploy:
name: Deployment status
runs-on: ubuntu-latest
env:
ACTIONS_PULL_REQUEST_HEAD: ${{ github.event.pull_request.head.sha }}
ACTIONS_PULL_REQUEST_NUMBER: ${{ github.event.number }}
GITHUB_TOKEN: ${{ github.token }}
steps:
# - name: Checkout repository
# uses: actions/checkout@v3
#
# - name: Update PR checklist for surge.sh as pending
# run: |
# mkdir -p ./pr
# ./config/gh-actions/deploy.sh pending
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: reposense-deployment-id
path: ./pr
- name: Update PR checklist for surge.sh as failure
if: ${{ failure() }}
run: ./config/gh-actions/deploy.sh failure