This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
Added new script ❄️ 🎁 #11
This file contains 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: Upload to remote share | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ main ] | |
#pull_request: | |
#branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
concurrency: | |
group: environment-${{ github.ref }} | |
cancel-in-progress: true | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
name: Copy Files to Blake Drumm - File Repository | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Copy Virtual Machine Manager Powershell to Blake Drumm - File Repository | |
# You may pin to the exact commit or the version. | |
# uses: AbleLincoln/push-to-sftp@a6c117bb60fdc94ab8e5b139cdb0b19bea582c81 | |
uses: AbleLincoln/[email protected] | |
with: | |
# SFTP server | |
host: ${{ secrets.HOST }} | |
# SFTP server port | |
port: ${{ secrets.PORT }} | |
# SFTP username | |
username: ${{ secrets.USERNAME }} | |
# SFTP password | |
password: ${{ secrets.PASSWORD }} | |
# Source directory to upload from (will upload all files in this directory) | |
sourceDir: "/home/runner/work/SCVMM-Scripts-and-SQL/SCVMM-Scripts-and-SQL/Powershell" | |
# Remote directory to upload to (WARNING: overwrites ALL files in this directory) | |
targetDir: "/var/www/blakedrumm_fileshare/Powershell/VirtualMachineManager/Single Files" | |
- name: Copy Operations Manager SQL Queries to Blake Drumm - File Repository | |
# You may pin to the exact commit or the version. | |
# uses: AbleLincoln/push-to-sftp@a6c117bb60fdc94ab8e5b139cdb0b19bea582c81 | |
uses: AbleLincoln/[email protected] | |
with: | |
# SFTP server | |
host: ${{ secrets.HOST }} | |
# SFTP server port | |
port: ${{ secrets.PORT }} | |
# SFTP username | |
username: ${{ secrets.USERNAME }} | |
# SFTP password | |
password: ${{ secrets.PASSWORD }} | |
# Source directory to upload from (will upload all files in this directory) | |
sourceDir: "/home/runner/work/SCVMM-Scripts-and-SQL/SCVMM-Scripts-and-SQL/SQL Queries" | |
# Remote directory to upload to (WARNING: overwrites ALL files in this directory) | |
targetDir: "/var/www/blakedrumm_fileshare/SQL-Queries/VirtualMachineManager" |