AS62005 - Add BlueVPS #20
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
name: Get Hosting Names | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'blocks/hosting/raw.txt' | |
jobs: | |
built_and_commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP Action | |
uses: shivammathur/[email protected] | |
with: | |
php-version: '8.2' | |
- name: Get Hosting Names | |
run: | | |
cd blocks/hosting | |
php hostingNames.php | |
- name: Push hosting.csv | |
uses: X4BNet/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_file: 'blocks/hosting/hosting.csv' | |
destination_repo: '${{ github.repository }}' | |
destination_folder: '/blocks/hosting/' | |
user_email: '[email protected]' | |
user_name: 'Automation Manager' | |
destination_branch: "master" | |