FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

remove links (#892) · meabed/codeception.github.com@c445b83 · GitHub

Auto-publish website #34775

Auto-publish website

Auto-publish website #34775

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: Auto-publish website
# Controls when the workflow will run
on:
schedule:
- cron: "0 * * * *"
# 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:
# This workflow contains a single job called "build"
build:
# 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
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
- name: authorize
run: |
git config --local user.email "${GITHUB_ACTOR}@bots.github.com"
git config --local user.name "github-actions[bot]"
- name: Setup PHP
uses: shivammathur/setup-php@v2
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
php-version: 8.1
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Build docs
run: ./vendor/bin/robo build:docs
- name: Build changelog
run: ./vendor/bin/robo changelog
env:
GH_PAT: ${{ secrets.GH_PAT }}
- name: Publish docs
run: ./vendor/bin/robo publish

Back | FazBrowse Home | New Git URL