Skip to content

Commit

Permalink
fixed(deploy): actions/upload-artifact include hidden files
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgobich committed Sep 18, 2024
1 parent ca1ee4b commit 1250fc3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/cleavr_ownxkd4j5u.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


# This GitHub Actions workflow is generated and deployed by https://cleavr.io
# The filename, cleavr_ownxkd4j5u, of this workflow is tracked from within Cleavr,
# please don't change the name. Though, feel free to add your own steps or tweak
Expand Down Expand Up @@ -29,21 +27,22 @@ jobs:
- name: Build app
run: npm run build --production

### --- PLEASE DO NOT MODIFY ANYTHING BELOW THIS LINE --- ###
### --- PLEASE DO NOT MODIFY ANYTHING BELOW THIS LINE --- ###

- name: Generate artifact name
id: artifact
uses: josStorer/[email protected]
with:
format: YYYYMMDDHHmmss
utcOffset: "+08:00"
utcOffset: '+08:00'

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: '${{ steps.artifact.outputs.formattedTime }}'
path: build/
if-no-files-found: error
include-hidden-files: true

- name: Start Cleavr Deployment
uses: fjogeleit/http-request-action@master
Expand All @@ -52,4 +51,3 @@ jobs:
method: 'POST'
timeout: 60000
customHeaders: '{"artifact": "${{ steps.artifact.outputs.formattedTime }}"}'

0 comments on commit 1250fc3

Please sign in to comment.