Skip to content

Commit

Permalink
surge list
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq committed Jun 20, 2024
1 parent d5baab9 commit 35c0adf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deployonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@ jobs:
github-token: ${{ github.token }}
run-id: ${{ github.event.workflow_run.id }}

- name: List directory contents
- name: Run surge list
run: |
pwd
ls -lh
ls *
du -sh *
surge list
- name: Manage Surge deployment
id: preview_step
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/surgelist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Surge List

on: [workflow_dispatch]

jobs:
list:
runs-on: ubuntu-latest

steps:
- name: Install Surge.sh
uses: actions/setup-node@v4

- run: npm install -g surge

- run: surge list
env:
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}

0 comments on commit 35c0adf

Please sign in to comment.