chore: Remove beta status #117
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push events but only for for stable or beta tags (0.0.1, 1.4, 1.0, 1.0b, 1.1.1b, ...) | |
push: | |
tags: | |
- '[0-9]+.*b?[0-9]+' # matches stable and beta tags | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
deploy: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
path: Camera-Simulation | |
submodules: recursive | |
ssh-key: ${{ secrets.CAMERA_DATA_DEPLOY_KEY }} | |
- name: Print ref | |
run: echo github.ref == ${{ github.ref }} | |
- name: FTP Deploy Stable | |
if: ${{ contains(github.ref,'b') == false }} # should trigger on stable | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_HOSTNAME }} | |
username: ${{ secrets.FTP_USER }} # stable ftp account | |
password: ${{ secrets.FTP_PASSWORD }} # stable ftp password | |
local-dir: ./Camera-Simulation/ | |
server-dir: / | |
exclude: | | |
**/.git* | |
**/.git*/** | |
- name: FTP Deploy Beta | |
if: ${{ contains(github.ref,'b') == true }} # should trigger on beta | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_HOSTNAME }} | |
username: ${{ secrets.BETA_FTP_USER }} # beta ftp accound | |
password: ${{ secrets.BETA_FTP_PASSWORD }} # beta ftp password | |
local-dir: ./Camera-Simulation/ | |
server-dir: / | |
exclude: | | |
**/.git* | |
**/.git*/** |