Skip to content

Add AS401115

Add AS401115 #32

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"