Skip to content

Commit

Permalink
upload wf test
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Oct 24, 2023
1 parent de17f12 commit 990242f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 43 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/ci.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Upload

on: workflow_dispatch

jobs:
build_and_upload:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- name: Npm things
run: npm i
- name: Build
run: npm run prepack
- name: Upload to S3
uses: prewk/s3-cp-action@v2
with:
source: ./dist/release
dest: s3://ce-cdn.net/speedscope
flags: --recursive
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit 990242f

Please sign in to comment.