Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Airiinnn committed Jan 31, 2025
1 parent 7f0d2f9 commit 547982a
Showing 1 changed file with 28 additions and 23 deletions.
51 changes: 28 additions & 23 deletions .github/workflows/pending.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,32 @@ 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
- name: Placeholder step
run: echo "Workflow initialized"
# 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

0 comments on commit 547982a

Please sign in to comment.