Skip to content

Instantly share code, notes, and snippets.

View walidmahade's full-sized avatar
🏠
Working from home

Mahade Walid walidmahade

🏠
Working from home
View GitHub Profile
@walidmahade
walidmahade / deploy-react-app.yaml
Last active February 22, 2024 04:29
Github actions example - Deploy react app using SFTP
# Optional - The name of the workflow, appears in the "Actions" tab of the GitHub repository. If this field is omitted, the name of the workflow file will be used instead.
name: deploy-app-to-production
# Optional - The name for workflow runs generated from the workflow.
# This example uses an expression with the `github` context to display the username."
# See full list of available context objects: https://docs.github.com/en/actions/learn-github-actions/contexts
run-name: ${{ github.actor }} is deploying to cpanel
# The trigger for this workflow
# you can target multiple branches by adding one branch per line