-
Notifications
You must be signed in to change notification settings - Fork 55
36 lines (34 loc) · 1.01 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Deploy to Live Channel
on:
push:
branches:
- main
# Optionally configure to run only for specific files. For example:
# paths:
# - "website/**"
jobs:
deploy_live_website:
environment: production
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Add any build steps here. For example:
# - run: npm ci && npm run build
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.119.0'
# extended: true
- name: Build
run: |
cd content/ai_exchange
hugo mod get github.com/imfing/hextra@v0.7.3
hugo --gc --minify
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
projectId: project-integration-standards
target: owasp-ai-exchange
channelId: live
entryPoint: content/ai_exchange