Skip to content

Commit

Permalink
Remove upload/download because they take too long
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-gai committed Oct 20, 2021
1 parent d42cc41 commit c70d842
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions .github/workflows/main_repost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@ on:
workflow_dispatch:

jobs:
build:
build-and-deploy:
runs-on: ubuntu-latest
concurrency: production
env:
slot_name: 'Production'
app_name: 'repost'
environment:
name: "production"
url: ${{ steps.azure-webapps-deploy.outputs.webapp-url }}
steps:
- uses: actions/checkout@v2
- name: Set up Node.js version
Expand All @@ -28,27 +35,6 @@ jobs:
env:
NODE_ENV: 'production'
run: ./scripts/make_dist.sh
- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
with:
name: repost-dist
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
concurrency: production
env:
slot_name: 'Production'
app_name: 'repost'
environment:
name: "production"
url: ${{ steps.azure-webapps-deploy.outputs.webapp-url }}
steps:
- name: Download a single artifact
uses: actions/download-artifact@v2
with:
name: repost-dist
path: dist
- name: 'Tar dist directory'
run: tar -cvf repost-dist.tar dist
- name: Bump version and push tag
Expand Down

0 comments on commit c70d842

Please sign in to comment.