feat: checkout subpath
This commit is contained in:
parent
0a170871ad
commit
33b6485547
@ -6,11 +6,9 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: debian
|
||||
defaults:
|
||||
run:
|
||||
working-directory: dialer
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
subpath: dialer/
|
||||
- uses: icing/flutter@test
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
|
@ -1,16 +1,14 @@
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- website/**
|
||||
#paths:
|
||||
# - website/**
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: debian
|
||||
defaults:
|
||||
run:
|
||||
working-directory: website
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
subpath: website/
|
||||
- name: setup env
|
||||
run: |
|
||||
. ./.env || true
|
||||
@ -29,10 +27,9 @@ jobs:
|
||||
- uses: actions/kaniko@v1
|
||||
with:
|
||||
password: "${{ secrets.PKGRW }}"
|
||||
dockerfile: website/Dockerfile
|
||||
dockerfile: Dockerfile
|
||||
|
||||
- uses: actions/k8sdeploy@v1
|
||||
with:
|
||||
kubeconfig: "${{ secrets.K8S }}"
|
||||
registry_password: "${{ secrets.PKGRW }}"
|
||||
workdir: website
|
||||
|
Loading…
Reference in New Issue
Block a user