File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 55
66jobs :
77 mike-deploy :
8-
98 runs-on : ubuntu-latest
10-
9+ strategy :
10+ matrix :
11+ version : ['v1', 'v2']
1112 steps :
1213 - uses : actions/checkout@v4
1314 with :
1415 token : ${{ secrets.GH_TOKEN }}
16+ ref : ${{ matrix.version }}
1517 - name : Set up Python
1618 uses : actions/setup-python@v3
1719 with :
2628 run : |
2729 git config user.name "$(git log -n 1 --pretty=format:%an)"
2830 git config user.email "$(git log -n 1 --pretty=format:%ae)"
29- - name : Build v1
30- run : |
31- git fetch origin deploy:deploy
32- mike deploy --push --branch deploy --rebase v1
33- - name : Build v2
31+ - name : Build
3432 run : |
3533 git fetch origin deploy:deploy
36- mike deploy --push --branch deploy --rebase v2
34+ mike deploy --push --branch deploy --rebase ${{ matrix.version }}
You can’t perform that action at this time.
0 commit comments