-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (35 loc) · 834 Bytes
/
run.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
permissions:
contents: read
pages: write
id-token: write
name: Generate page
on:
push:
branches: [ "master" ]
schedule:
- cron: '0 1 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Execute
run: dotnet run --no-restore
env:
CONNECTIONSTRINGS__TMDB: ${{ secrets.CONNECTIONSTRINGS__TMDB }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload the output
path: 'wwwroot'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4