feat: add Docker deployment workflow for building and deploying the application
This commit is contained in:
@@ -22,13 +22,13 @@ jobs:
|
||||
- name: Cache Gitea Actions
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
# The path to the directory that should be cached
|
||||
path: /root/.cache/act
|
||||
# A key to identify the cache
|
||||
key: ${{ runner.os }}-gitea-actions-${{ hashFiles(''.workflow) }}
|
||||
# A fallback key to use if the primary key doesn't match
|
||||
path: |
|
||||
~/.cache/actcache
|
||||
~/.cache/act
|
||||
key: ${{ runner.os }}-act-${{ hashFiles('**/.gitea/workflows/*.yml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gitea-actions-
|
||||
${{ runner.os }}-act-
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user