Skip to content

Commit 865125f

Browse files
committed
Update files
1 parent 2401bce commit 865125f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: 'Hugo Action'
2-
description: 'Prepare environment for the blog'
1+
name: 'build-and-deploy'
2+
description: 'Builds the site using Hugo, and deploy it to Firebase Hosting'
33
inputs:
4-
firebase-token: # id of input
5-
description: 'Firebase token'
4+
firebase-token:
5+
description: 'Firebase token (obtained via firebase tools -- firebase login:ci)'
66
required: true
77
runs:
88
using: 'docker'

entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ hugo
1313
# Publish to Firebase
1414
firebase use --token $FIREBASE_DEPLOY_KEY alias
1515
firebase deploy -m "Trigger: $GITHUB_EVENT_NAME, commit SHA: $GITHUB_SHA" --non-interactive --token $FIREBASE_DEPLOY_KEY
16-
mkdir .public
17-
cp -r * .public
18-
mv .public public
16+

0 commit comments

Comments
 (0)