Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in same yaml #1

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 30 additions & 5 deletions .github/workflows/pull-latest-docs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Pull Talawa API and Admin Changes
name: Pull Talawa Changes

on:
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * 0' # Runs every Sunday at midnight
workflow_dispatch:

jobs:
pull:
pull_talawa_mobile:
name: Pull Talawa Mobile Changes
runs-on: ubuntu-latest

steps:
- name: Checkout current repository
uses: actions/checkout@v2
Expand All @@ -17,7 +18,31 @@ jobs:
run: |
git config --global user.email "${{ env.email }}"
git config --global user.name "${{ github.actor }}"


- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.3'
channel: 'stable'

- name: Run bash script to fetch Talawa mobile docs
run: bash .github/workflows/pull-talawa-mobile-docs.sh
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

pull_talawa_api_admin:
name: Pull Talawa API and Admin Changes
runs-on: ubuntu-latest

steps:
- name: Checkout current repository
uses: actions/checkout@v2

- name: Set up Git config
run: |
git config --global user.email "${{ env.email }}"
git config --global user.name "${{ github.actor }}"

- name: Run bash script for docs API
run: bash .github/workflows/pull-docs-api.sh
env:
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/pull-talawa-mobile-docs.yml

This file was deleted.

Loading