Skip to content

Commit

Permalink
Remove step to upload artifact and then pull it
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30 committed Apr 15, 2023
1 parent 3d7cb20 commit de11c31
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v3

# Build the app using nodejs
- name: Use node js 18
uses: actions/setup-node@v2
Expand All @@ -22,24 +23,7 @@ jobs:
run: npm install
- name: Build for production
run: npm run build
# Upload the dist directory
- uses: actions/upload-artifact@master
with:
name: Webapp artifacts
path: .svelte-kit/

push-to-docker:
needs: build-webapp
runs-on: ubuntu-latest
steps:
# Checkout the repo in order to fetch the latest content
- name: Checkout repo
uses: actions/checkout@v3
- name: Download built artifact
uses: actions/download-artifact@master
with:
name: Webapp artifacts
path: ./.svelte-kit/
# Extract metadata for the docker image
- name: Docker meta
id: meta
Expand Down

0 comments on commit de11c31

Please sign in to comment.