Commit 3e930a6 1 parent 58f5c6b commit 3e930a6 Copy full SHA for 3e930a6
File tree 1 file changed +13
-36
lines changed
1 file changed +13
-36
lines changed Original file line number Diff line number Diff line change @@ -97,42 +97,19 @@ jobs:
97
97
name : cypress-screenshots
98
98
path : cypress/screenshots
99
99
100
- deploy_dev :
101
- needs :
102
- - install_cache
103
- - lint
104
- - cypress
100
+ docker :
101
+ runs-on : ubuntu-latest
102
+ needs : [lint, cypress]
105
103
if : github.ref == 'refs/heads/develop'
106
- name : Deploy Dev
107
- runs-on : ${{ matrix.os }}
108
- strategy :
109
- matrix :
110
- os :
111
- - ubuntu-latest
112
- node :
113
- - 20
114
- steps :
115
- - name : Checkout 🛎
116
- uses : actions/checkout@v4
117
- - run : corepack enable
118
104
119
- - name : Deploy
120
-
105
+ permissions :
106
+ contents : read
107
+ packages : write
108
+ attestations : write
109
+ id-token : write
110
+
111
+ steps :
112
+ - name : Docker Build and Push
113
+ uses : cartoway/docker-compose-build-push-action@main
121
114
with :
122
- host : ${{secrets.DEPLOY_SSH_HOST}}
123
- username : ${{secrets.DEPLOY_SSH_USERNAME}}
124
- key : ${{secrets.DEPLOY_SSH_KEY_DEV}}
125
- port : 2222
126
- script : |
127
- echo -n 'VIDO: Deployment started at: ' &&
128
- date -u &&
129
- cd ${{secrets.DEPLOY_SSH_PATH}} &&
130
- git fetch &&
131
- git checkout -f origin/develop &&
132
- ruby poi_explode.rb cypress/fixtures/teritorio/references/pois.geojson &&
133
- docker compose build &&
134
- touch vidos-config.json &&
135
- docker compose run --rm vido yarn build-config &&
136
- docker compose up -d &&
137
- echo -n 'VIDO: Deployment completed at: ' &&
138
- date -u
115
+ registry_password : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments