Skip to content

lockfile update

lockfile update #64

Workflow file for this run

name: Push to Portfolio Content Directory
on:
push:
branches: "main"
workflow_dispatch:
env:
GH_TOKEN: ${{ secrets.TOKEN_TO_ACCESS_OUTPUT_REPO }}
jobs:
create-readme-md:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: "Read file contents"
id: read_file
uses: lucaengelhard/[email protected]
with:
path: "README.md"
title: "${{ github.event.repository.name }}"
tags: "typescript, nodejs, axios"
thumbnail: "images/ao3-toolkit.png"
order: 3
- name: Checkout Portfolio Repo
uses: actions/checkout@v4
with:
repository: lucaengelhard/portfolio
ref: main
token: ${{ secrets.TOKEN_TO_ACCESS_OUTPUT_REPO }}
- name: Create target file
run: echo "${{ steps.read_file.outputs.markdown }}" > content/projects/${{ github.event.repository.name }}.md
- run: |
git config --global user.email "[email protected]"
git config --global user.name "Luca Engelhard"
git checkout -b ${{ github.event.repository.name }}-readme
git add .
git commit -m "Adding or Updating ${{ github.event.repository.name }} to content directory"
git push -f --set-upstream origin ${{ github.event.repository.name }}-readme
gh pr create --fill