Skip to content

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /playground #100

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /playground

chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /playground #100

name: Test deploy

Check failure on line 1 in .github/workflows/deploy-test-server.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-test-server.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: deploy
on:
workflow_dispatch:
pull_request:
branches:
- master
- develop
jobs:
# preflight-checks:
# name: Preflight checks
# runs-on: ubuntu-latest
# steps:
# - name: Check if there are config-sync changes on production
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.SSH_HOST }}
# username: ${{ secrets.SSH_CI_USERNAME }}
# password: ${{ secrets.SSH_CI_PASSWORD }}
# script_stop: true
# script: dokku run strapi ../node_modules/.bin/config-sync diff
deploy:
name: Deploy
# needs: [preflight-checks]
runs-on: ubuntu-latest
environment:
name: Test
url: https://test.pluginpal.io
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# - name: Set up Docker
# uses: actions/setup-node@v3
# with:
# node-version: 18
# cache: 'yarn'
# - name: Install plugin dependencies
# run: yarn install
# - name: Build the packages
# run: yarn run build
# - name: Install de playground dependencies
# run: yarn playground:install
# - name: Build a Docker image of the playground
# run: |
# cd playground
# docker build \
# --build-arg PUBLIC_URL=${{ secrets.TEST_URL }} \
# -t strapi-playground:latest .
# docker save -o strapi-playground-latest.tar strapi-playground:latest
# - name: Transfer the Docker image to the Dokku server
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.SSH_HOST }}
# username: ${{ secrets.SSH_CI_USERNAME }}
# password: ${{ secrets.SSH_CI_PASSWORD }}
# source: playground/strapi-playground-latest.tar
# target: /var/lib/dokku/data/storage/strapi/docker-images
# - name: Deploy the Dokku app based on the Docker image
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.SSH_HOST }}
# username: ${{ secrets.SSH_CI_USERNAME }}
# password: ${{ secrets.SSH_CI_PASSWORD }}
# script_stop: true
# script: |
# sudo docker load -i /var/lib/dokku/data/storage/strapi/docker-images/playground/strapi-playground-latest.tar
# STRAPI_LATEST_IMAGE=$(sudo docker images --format "{{.ID}}" strapi-playground:latest)
# sudo docker tag strapi-playground:latest strapi-playground:$STRAPI_LATEST_IMAGE
# dokku git:from-image strapi strapi-playground:$STRAPI_LATEST_IMAGE
# sudo docker system prune --all --force
# sudo rm -rf /var/lib/dokku/data/storage/strapi/docker-images/playground/strapi-playground-latest.tar