Seizures are the most prevalent clinical indication of neurological disorders in neonates and are associated with poor neurodevelopmental outcomes. Despite being time-consuming and challenging, visual inspection of EEG is still the golden standard for detecting neonatal seizures. In this study, we propose a deep learning approach based on Convolutional Neural Networks (CNNs) and Graph Attention Networks (GATs) for the automated detection of neonatal seizures. The proposed model integrates the temporal information of EEG signals with the spatial information on the EEG channels, through the graph representation of the multi-channel EEG segments. One dimensional CNNs are used to automatically develop a feature set that accurately represents the differences between seizure and non-seizure epochs in the time domain. Additionally, by employing GAT, we took advantage of the attention mechanism to put more emphasis on the critical channel pairs and information flow among brain regions. By stacking GAT layers on top of the CNN layers, the final Spatio-Temporal Graph Attention Network (ST-GAT) model achieved a mean Area Under the Curve (AUC) of 95.9% and Kappa of 0.80, outperforming previous benchmarked methods. GAT coefficients were also utilized to empirically visualize the importance levels of neighboring node pairs during the seizure and non-seizure epochs, which can provide insight into the location of seizures in the neonatal brain. Furthermore, although exploring both temporal and spatial EEG information, our model has the advantage of requiring only temporal annotations on seizures for the training phase, which makes it more suitable for clinical applications.