Skip to content

Commit

Permalink
Final GH workflow version working
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmills committed Aug 2, 2024
1 parent 0811b28 commit 9426374
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,13 @@ jobs:

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies
run: npm install uglify-js -g

- name: Verify script.js exists
run: ls -la script.js

- name: Minimize JavaScript
run: uglifyjs script.js -o script.min.js

- name: Verify script.min.js created
run: ls -la script.min.js

- name: Install AWS CLI
run: sudo apt-get install awscli -y

Expand All @@ -49,13 +41,6 @@ jobs:
curl -sL https://github.com/digitalocean/doctl/releases/download/v1.91.0/doctl-1.91.0-linux-amd64.tar.gz | tar -xzv
sudo mv doctl /usr/local/bin
- name: List CDN Endpoints
env:
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DO_ACCESS_TOKEN }}
id: list-cdn
run: |
doctl compute cdn list
- name: Purge Cache
env:
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DO_ACCESS_TOKEN }}
Expand Down

0 comments on commit 9426374

Please sign in to comment.