Skip to content

cicd data folder copying #7

cicd data folder copying

cicd data folder copying #7

Workflow file for this run

name: CI/CD
on:
push:
paths:
- "infrastructure/**"
- ".github/workflows/cicd.yml"
jobs:
deploy-test:
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/main'
concurrency:
group: deploy-test
cancel-in-progress: true
env:
PROJECT_NAME: c3nav-test
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Create .env file
uses: noi-techpark/github-actions/env-file@v2
env:
X_SERVER_PORT: 1001
X_C3NAV_TAG: 897cf68ccc1731372ee3fba6044b6292f7bdc3d3
X_C3NAV_DOMAIN: maps.sfscon.testingmachine.eu
- name: Deploy application
uses: noi-techpark/github-actions/docker-deploy@v2
with:
hosts: 'maps.sfscon.it'
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
docker-username: 'noi-techpark-bot'
docker-password: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
project-name: ${{ env.PROJECT_NAME }}